﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Weather
/// </summary>
public class Weather
{
    private string city;
    private string date;
    private string temperature;
    private string wind;
    private string weaType;
    private string pic_1, pic_2;
    private string description;
    private string advice;
    private static string imagesUrl = @"http://shiwei-seu/WeatherService/Images/";
    public Weather()
    {
    }
    public Weather(string c, string d, string t, string wT, string w, string p1, string p2, string desc, string advice)
    {
        city = c;
        date = d;
        temperature = t;
        wind = w;
        weaType = wT;
        pic_1 = imagesUrl + p1;
        pic_2 = imagesUrl + p2;
        description = desc;
        this.advice = advice;
    }

    public string City
    {
        get
        {
            return city;
        }
        set
        {
            city = value;
        }
    }
    public string Date
    {
        get
        {
            return date;
        }
        set
        {
            date = value;
        }
    }
    public string Temperature
    {
        get
        {
            return temperature;
        }
        set
        {
            temperature = value;
        }
    }
    public string Wind
    {
        get
        {
            return wind;
        }
        set
        {
            wind = value;
        }
    }
    public string WeaType
    {
        get
        {
            return weaType;
        }
        set
        {
            weaType = value;
        }
    }
    public string PicUrl1
    {
        get
        {
            return pic_1;
        }
        set
        {
            pic_1 = value;
        }
    }
    public string PicUrl2
    {
        get
        {
            return pic_2;
        }
        set
        {
            pic_2 = value;
        }
    }
    public string Description
    {
        get
        {
            return description;
        }
        set
        {
            description = value;
        }
    }
    public string Adevice
    {
        get
        {
            return advice;
        }
        set
        {
            advice = value;
        }
    }
}